.class public Lcom/waiqin365/base/login/b/a/ao;
.super Lcom/waiqin365/base/login/b/e;


# instance fields
.field public c:Ljava/lang/String;

.field public d:Ljava/lang/String;

.field public e:Ljava/lang/String;

.field public f:Ljava/lang/String;

.field public g:Lcom/waiqin365/base/login/c/n;

.field public h:Lcom/waiqin365/base/login/c/h;

.field public i:Lcom/waiqin365/base/login/c/e;

.field public j:Lcom/waiqin365/base/login/c/c;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x65

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/b/e;-><init>(I)V

    new-instance v0, Lcom/waiqin365/base/login/c/n;

    invoke-direct {v0}, Lcom/waiqin365/base/login/c/n;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    new-instance v0, Lcom/waiqin365/base/login/c/h;

    invoke-direct {v0}, Lcom/waiqin365/base/login/c/h;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    new-instance v0, Lcom/waiqin365/base/login/c/e;

    invoke-direct {v0}, Lcom/waiqin365/base/login/c/e;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    new-instance v0, Lcom/waiqin365/base/login/c/c;

    invoke-direct {v0}, Lcom/waiqin365/base/login/c/c;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 5

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "code"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/base/login/b/a/ao;->c:Ljava/lang/String;

    :cond_0
    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "message"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/base/login/b/a/ao;->e:Ljava/lang/String;

    :cond_1
    const-string/jumbo v1, "error_type"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "error_type"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/base/login/b/a/ao;->d:Ljava/lang/String;

    :cond_2
    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_37

    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v1

    const-string/jumbo v0, "first"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "first"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/b/a/ao;->f:Ljava/lang/String;

    :cond_3
    const-string/jumbo v0, "name"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "name"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->k(Ljava/lang/String;)V

    :cond_4
    const-string/jumbo v0, "tenantid"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "tenantid"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->g(Ljava/lang/String;)V

    :cond_5
    const-string/jumbo v0, "datetime"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "datetime"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->h(Ljava/lang/String;)V

    :cond_6
    const-string/jumbo v0, "baseinfo"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_15

    const-string/jumbo v0, "baseinfo"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_15

    const-string/jumbo v2, "sex"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "sex"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->c:Ljava/lang/String;

    :cond_7
    const-string/jumbo v2, "email"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_8

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "email"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->e:Ljava/lang/String;

    :cond_8
    const-string/jumbo v2, "name"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_9

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "name"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->a:Ljava/lang/String;

    :cond_9
    const-string/jumbo v2, "deptName"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_a

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "deptName"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->b:Ljava/lang/String;

    :cond_a
    const-string/jumbo v2, "mobileBind"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_b

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "mobileBind"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getBoolean(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, v2, Lcom/waiqin365/base/login/c/c;->j:Z

    :cond_b
    const-string/jumbo v2, "pic"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_c

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "pic"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->g:Ljava/lang/String;

    :cond_c
    const-string/jumbo v2, "code"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_d

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "code"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->d:Ljava/lang/String;

    :cond_d
    const-string/jumbo v2, "tenantName"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_e

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "tenantName"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->h:Ljava/lang/String;

    :cond_e
    const-string/jumbo v2, "tenantCode"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_f

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "tenantCode"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->i:Ljava/lang/String;

    :cond_f
    const-string/jumbo v2, "mobile"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_10

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "mobile"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->f:Ljava/lang/String;

    :cond_10
    const-string/jumbo v2, "is_vip"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_11

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "1"

    const-string/jumbo v4, "is_vip"

    invoke-virtual {v0, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    iput-boolean v3, v2, Lcom/waiqin365/base/login/c/c;->k:Z

    :cond_11
    const-string/jumbo v2, "has_child"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_12

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "1"

    const-string/jumbo v4, "has_child"

    invoke-virtual {v0, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    iput-boolean v3, v2, Lcom/waiqin365/base/login/c/c;->m:Z

    :cond_12
    const-string/jumbo v2, "status"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_13

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->j:Lcom/waiqin365/base/login/c/c;

    const-string/jumbo v3, "status"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/c;->l:Ljava/lang/String;

    :cond_13
    const-string/jumbo v2, "allow_emp_manage"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_14

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    const-string/jumbo v3, "1"

    const-string/jumbo v4, "allow_emp_manage"

    invoke-virtual {v0, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->a(Z)V

    :cond_14
    const-string/jumbo v2, "is_admin"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_15

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    const-string/jumbo v3, "1"

    const-string/jumbo v4, "is_admin"

    invoke-virtual {v0, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/login/mainview/a;->b(Z)V

    :cond_15
    const-string/jumbo v0, "images_url"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_16

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "images_url"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->i(Ljava/lang/String;)V

    :cond_16
    const-string/jumbo v0, "upload_url"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_17

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "upload_url"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->j(Ljava/lang/String;)V

    :cond_17
    const-string/jumbo v0, "version"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_20

    const-string/jumbo v0, "version"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_20

    const-string/jumbo v2, "clientversion"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_18

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "clientversion"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->a:Ljava/lang/String;

    :cond_18
    const-string/jumbo v2, "clienturl"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_19

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "clienturl"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    :cond_19
    const-string/jumbo v2, "isforce"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1a

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "isforce"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "1"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, v2, Lcom/waiqin365/base/login/c/h;->c:Z

    :cond_1a
    const-string/jumbo v2, "msg"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1b

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "msg"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->d:Ljava/lang/String;

    :cond_1b
    const-string/jumbo v2, "appversion"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1c

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "appversion"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->e:Ljava/lang/String;

    :cond_1c
    const-string/jumbo v2, "appurl"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1d

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "appurl"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    :cond_1d
    const-string/jumbo v2, "isinc"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1e

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "isinc"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "1"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, v2, Lcom/waiqin365/base/login/c/h;->g:Z

    :cond_1e
    const-string/jumbo v2, "hintClientVersion"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1f

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "hintClientVersion"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/h;->h:Ljava/lang/String;

    :cond_1f
    const-string/jumbo v2, "hintClientUrl"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_20

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->h:Lcom/waiqin365/base/login/c/h;

    const-string/jumbo v3, "hintClientUrl"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/base/login/c/h;->i:Ljava/lang/String;

    :cond_20
    const-string/jumbo v0, "sessionparm"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_29

    const-string/jumbo v0, "sessionparm"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_29

    const-string/jumbo v2, "userid"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_21

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "userid"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->a:Ljava/lang/String;

    :cond_21
    const-string/jumbo v2, "chtype"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_22

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "chtype"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->b:Ljava/lang/String;

    :cond_22
    const-string/jumbo v2, "chsiauth"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_23

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "chsiauth"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->c:Ljava/lang/String;

    :cond_23
    const-string/jumbo v2, "loctype"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_24

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "loctype"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->d:Ljava/lang/String;

    :cond_24
    const-string/jumbo v2, "pgpsto"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_25

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "pgpsto"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->e:Ljava/lang/String;

    :cond_25
    const-string/jumbo v2, "cgpsto"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_26

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "cgpsto"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->f:Ljava/lang/String;

    :cond_26
    const-string/jumbo v2, "googleto"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_27

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "googleto"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->g:Ljava/lang/String;

    :cond_27
    const-string/jumbo v2, "baiduto"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_28

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "baiduto"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/e;->h:Ljava/lang/String;

    :cond_28
    const-string/jumbo v2, "lbsrole"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_29

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    const-string/jumbo v3, "lbsrole"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/base/login/c/e;->i:Ljava/lang/String;

    :cond_29
    const-string/jumbo v0, "menus"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2a

    const-string/jumbo v0, "menus"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->c:Ljava/lang/String;

    if-eqz v2, :cond_2a

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->c:Ljava/lang/String;

    const-string/jumbo v3, "2"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2a

    const-string/jumbo v2, "data/sys/client_auth_menus.json"

    invoke-static {v2, v0}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_2a
    const-string/jumbo v0, "user_short_menu"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    const-string/jumbo v0, ""

    if-eqz v2, :cond_2b

    const-string/jumbo v0, "user_short_menu"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :cond_2b
    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    iget-object v2, v2, Lcom/waiqin365/base/login/c/e;->a:Ljava/lang/String;

    if-eqz v2, :cond_2c

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    iget-object v2, v2, Lcom/waiqin365/base/login/c/e;->a:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_2c

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    iget-object v3, v3, Lcom/waiqin365/base/login/c/e;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->e(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/login/b/a/ao;->i:Lcom/waiqin365/base/login/c/e;

    iget-object v3, v3, Lcom/waiqin365/base/login/c/e;->a:Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Lcom/waiqin365/base/login/mainview/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_2c
    const-string/jumbo v0, "md5"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2d

    const-string/jumbo v0, "data/sys/client_auth_md5"

    const-string/jumbo v2, "md5"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_2d
    const-string/jumbo v0, "noticemsg"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_32

    const-string/jumbo v0, "noticemsg"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_32

    const-string/jumbo v2, "msg"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2e

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    const-string/jumbo v3, "msg"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/n;->a:Ljava/lang/String;

    :cond_2e
    const-string/jumbo v2, "no_btn"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2f

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    const-string/jumbo v3, "no_btn"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/n;->b:Ljava/lang/String;

    :cond_2f
    const-string/jumbo v2, "no_js"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_30

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    const-string/jumbo v3, "no_js"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/n;->c:Ljava/lang/String;

    :cond_30
    const-string/jumbo v2, "yes_btn"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_31

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    const-string/jumbo v3, "yes_btn"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/base/login/c/n;->d:Ljava/lang/String;

    :cond_31
    const-string/jumbo v2, "yes_js"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_32

    iget-object v2, p0, Lcom/waiqin365/base/login/b/a/ao;->g:Lcom/waiqin365/base/login/c/n;

    const-string/jumbo v3, "yes_js"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/base/login/c/n;->e:Ljava/lang/String;

    :cond_32
    const-string/jumbo v0, "app_param"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_38

    const-string/jumbo v0, "data/sys/client_login_appparam"

    const-string/jumbo v2, "app_param"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;Ljava/lang/String;)Z

    :goto_0
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/login/mainview/a;->b()V

    const-string/jumbo v0, "im_enable"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_33

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "im_enable"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->a(Ljava/lang/String;)V

    :cond_33
    const-string/jumbo v0, "is_watermark"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_34

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "is_watermark"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->b(Ljava/lang/String;)V

    :cond_34
    const-string/jumbo v0, "banner_type"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_35

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "banner_type"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->c(Ljava/lang/String;)V

    :cond_35
    const-string/jumbo v0, "auth-code"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_36

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "auth-code"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/login/mainview/a;->l(Ljava/lang/String;)V

    :cond_36
    const-string/jumbo v0, "new_pnsurl"

    invoke-virtual {v1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_37

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    const-string/jumbo v2, "new_pnsurl"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->d(Ljava/lang/String;)V

    :cond_37
    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_38
    const-string/jumbo v0, "data/sys/client_login_appparam"

    const-string/jumbo v2, ""

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/c;->c(Ljava/lang/String;Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto :goto_1
.end method
